const crypto=require('crypto');


module.exports={
    "secretKey":"sonder",
    "algorithms":["HS256"],
    "unless":{
        path:[
            '/users/login','/users/register',
        ]
    }
}
module.exports.sha256=function(str){
    let sha=crypto.createHash('sha256');
    return sha.update(str).digest('hex');
}
